home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16252 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: node238.fc.net!goochb
  2. From: goochb@rwi.com (William D. Gooch)
  3. Newsgroups: comp.lang.smalltalk,comp.object,comp.lang.c++,comp.lang.java
  4. Subject: Re: The Good, the Bad, the Ugly, and the Wicked ...
  5. Date: Tue, 9 Apr 1996 22:03:10
  6. Organization: RothWell International
  7. Message-ID: <goochb.325.00160E30@rwi.com>
  8. References: <31570B8E.5A12@vmark.com> <4je5rq$7qg@mimas.brunel.ac.uk> <RMARTIN.96Apr9160010@rcm.oma.com>
  9. NNTP-Posting-Host: node238.fc.net
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  11.  
  12. In article <RMARTIN.96Apr9160010@rcm.oma.com> rmartin@oma.com (Robert C. Martin) writes:
  13.  
  14. >In article <4kbq3q$1i8@gaia.ns.utk.edu> mbk@caffeine.engr.utk.edu (Matt Kennel)
  15. >writes:
  16.  
  17. >   Robert C. Martin (rmartin@oma.com) wrote:
  18.  
  19. >   : In any case, it matters little.  The more intense the real-time
  20. >   : constraint, the more work the engineer will have to go through
  21. >   : to manage the automatic garbage collector.  (e.g., turning it on or off,
  22. >   : throttling it, forcing unscheduled collections, etc.)  Thus, eventually
  23. >   : one merely trades the job of managing memory, for the job of
  24. >   : managing the collector.
  25.  
  26. >   It is not a trade, as nearly all garbage collection systems still
  27. >   *allow* manual memory management.
  28.  
  29. >Granted.  The trade off is in the decision of which approach to manage.
  30.  
  31. >   A garbage collector provides a potential solution that is very difficult
  32. >   to do without. 
  33.  
  34. >In some cases.  In others it is difficult to live with.  There is no generic
  35. >solution.
  36.  
  37. Cute, but a litle too glib perhaps.  Since (from what you wrote earlier)
  38. you know that a quality GC implementation allows one to turn it on 
  39. and off, force collection, and do one's own memory management,
  40. what basis does that leave for GC being "hard to live with?"  GC is
  41. merely another tool in the kit, and power tool at that.  Unless of course
  42. you are referring to a GC which may not be of good quality, in which 
  43. case your statement could apply equally to any piece of software.
  44.  
  45.  
  46. ~~~~~~~~~~~~~~~~~~~~~~
  47. William D. Gooch
  48. RothWell International
  49. goochb@rwi.com
  50. Texas liaison for the International Programmers Guild
  51. For information on IPG, see http://www.ipgnet.com/ipghome.htm
  52. ~~~~~~~~~~~~~~~~~~~~~~
  53.